<!DOCTYPE html>
<html>

<head lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <title>进行中的团</title>
    <link href="{$Think.config.RESOURCEURL}wx_assets/css/common.css" rel="stylesheet" type="text/css">
    <link href="{$Think.config.RESOURCEURL}wx_assets/micontent/materiaDetail.css{$Think.config.RESOURCE_VER}" rel="stylesheet">
    <link href="{$Think.config.RESOURCEURL}wx_assets/tuan/product_teamlist.css{$Think.config.RESOURCE_VER}" rel="stylesheet" type="text/css">
	<!-- <script src="http://sdk.talkingdata.com/app/h5/v1?appid=DE13C350F41F5DE78FEC51DB5DE730D1&vn=v2&vc=v2"></script> -->
    <script src="{$Think.config.RESOURCEURL}wx_assets/js/zepto.1.1.3.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/zepto.alert.js"></script>
    <script src="{$Think.config.RESOURCEURL}wx_assets/js/util.js{$Think.config.RESOURCE_VER}" type="text/javascript"></script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/wx_share.js{$Think.config.RESOURCE_VER}"></script>
    <script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/product/product_single_list.js{$Think.config.RESOURCE_VER}"></script>
    <style>
        body{background-color:#EFF3F2}
    </style>
</head>
<body>
	<empty name="teamList">
		<p class="team-em">暂无组团信息</p>
		<else />
		 <ul class="product_teamlist_ul">
	    	<volist name="teamList" id="tl">
	    	<li>
	    		<img class="tl-headImg" src="{$tl.headimgurl}" alt="" />
	    		<div>
	    			<p>
	    				{$tl.nickname}
	    					<span class="tl-status">
	    						<egt name="tl.status" value="1">
	    							已成团
	    							<else />
	    							组团中
	    						</egt>
	    					</span>
	    			</p>
	    			<div class="tl-teamDe">
	    				<p>¥{$tl.teamPrice}/件</p>
	    				<span class="type{$tl.status}">
	    					<a href="call.html?module=tuan&customerId={$customerId}&method=getView&params=%7B%22tplid%22:1,%22teamId%22:{$tl.teamid},%22qId%22:{$tl.qId|default='null'},%22miUId%22:{$tl.miUid|default='null'}%7D" style="color: white;">
	    					<egt name="tl.status" value="1">
	    						已成团，去挤爆 >
	    						<else />
	    						还差{$tl['teamCount']-$tl['readyCount']}人成团，直接参团>
	    					</egt>
	    					</a>
	    				</span>
	    			</div>
	    		</div>
	    	</li>
	    	</volist>
    	</ul>
    
	</empty>
   <a  onclick="list.goDetail()" class="btn-tz">我要做团长</a>
</body>
<script>
	var list={
		
		goDetail:function(){
			var pb=$.util.getParamAsObject();
			
			var params={
	            "id":pb.pid
	        }
	        params=encodeURIComponent(JSON.stringify(params));
	        
			var link="call.html?module=product&customerId={$customerId}&method=getProduct&params="+params;
			window.location.href=link;
		}
	}
</script>
</html>
